home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 248 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.5 KB  |  39 lines

  1. Path: fido.asd.sgi.com!austern
  2. From: Claude Quezel <Claude.Quezel@gci.ulaval.ca>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Are all Windows programs ill-formed?
  5. Date: 02 Feb 1996 19:33:04 PST
  6. Organization: Universite Laval
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <4eucsq$qn@athena.ulaval.ca>
  9. References: <AE5J83na99@qsar.chem.msu.su> <9602010236.26117@mulga.cs.mu.OZ.AU> <9602021032.AA05302@lts.sel.alcatel.de>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: 3 Feb 1996 01:14:02 GMT
  12. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBVAwUBMRLYlEy4NqrwXLNJAQFzSQIAv8RnCX18wXNepT1V66K54nghS42hvTCr
  15.     YXt/mad7Ap3Ajrw5GXbADqNBYu8ziR45dtNqnhYMcoCx/2+uJxgEsw==
  16.     =1NkE
  17. Originator: austern@isolde.mti.sgi.com
  18.  
  19. Could window's main be simply like this:
  20.  
  21. int main(int argc, char *argv[]) {
  22.      // do some stuff
  23.      return WinMain(// stuff here);
  24. }
  25.  
  26.  
  27.  
  28. [Moderator's note: There have been a number of similar articles about
  29. the role of main() in a Windows program; this thread is beginning to get 
  30. a bit repetitive.  Please make sure, if you post something in this thread,
  31. that it says something new about whether Windows implementations are
  32. standard conforming and/or whether the standard needs to be modified to
  33. accommodate Windows. mha]
  34.  
  35. ---
  36. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  37.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  38.   in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
  39.